package com.hycat.mail.order.client;

import com.hycat.mail.order.vo.OrderLockStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "mail-ware", path = "/ware")
public interface WareClient {
    @GetMapping("/waresku/orderLockStock")
    Boolean orderLockStock(@RequestParam("orderLockStockVo") OrderLockStockVo orderLockStockVo);
}